package com.keba.lamp.complaint.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.keba.basic.base.entity.Entity;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static com.keba.lamp.model.constant.Condition.LIKE;


/**
 * <p>
 * 实体类
 * 证据目录和案件关联表
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-04-07 22:36:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("ss_evidence_case_rel")
public class EvidenceCaseRel extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 业务id
     */
    @TableField(value = "case_id", condition = EQUAL)
    private Long caseId;
    /**
     * 业务类型[01-起诉状，02-答辩状 ]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.BIZ_TYPE)
     */
    @TableField(value = "biz_type", condition = LIKE)
    private String bizType;
    /**
     * 案件类别;[01-贷款 99-其它]@Echo(api = EchoApi.DICTIONARY_ITEM_FEIGN_CLASS, dictType = EchoDictType.System.CASE_TYPE)
     */
    @TableField(value = "case_type", condition = LIKE)
    private String caseType;
    /**
     * 证据目录组件名称
     */
    @TableField(value = "name", condition = LIKE)
    private String name;
    /**
     * 证据目录排序
     */
    @TableField(value = "sort_value", condition = EQUAL)
    private Integer sortValue;
    /**
     * 租户ID
     */
    @TableField(value = "tenant_id", condition = EQUAL)
    private Long tenantId;
    /**
     * 证明内容
     */
    @TableField(value = "summarize_info", condition = LIKE)
    private String summarizeInfo;



}
